import Vue from 'vue'
import Router from 'vue-router'

Vue.use(Router)
import personalVocation from '@/components/personal/personal_vocation'
import teamVocation from '@/components/team/team_vocation'
import teamApporval from '@/components/team/team_approval'
import personalApproval from '@/components/personal/personal_approval'
import login from '@/components/login'
import personalCheck from '@/components/personal/personal_check'
import welcome from '@/components/welcome'

export default new Router({
  routes: [
      {
          path: '/',
          redirect: '/login'
      }, {
          path: '/team_vocation',
          component: teamVocation
      }, {
        path: '/team_approval',
        component: teamApporval
      }, {
        path: '/personal_vocation',
        component: personalVocation
      }, {
      path: '/personal_approval',
      component: personalApproval
      }, {
        path: '/login',
        component: login
      }, {
      path: '/personal_check',
      component: personalCheck
    }, {
      path: '/welcome',
      component: welcome
    }
  ]
})
